//
//  CButton.h
//  Hello Box2d
//
//  Created by niko on 10-9-28.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"

typedef enum tagButtonState {
	kButtonState_Grabbed,
	kButtonState_Ungrabbed
} ENUM_ButtonState;

@interface CButton : CCSprite <CCTargetedTouchDelegate> {
@private
	ENUM_ButtonState enum_state;
}

@property(nonatomic, readonly) CGRect rect;

+ (id)initButtonWithTexture:(CCTexture2D *)texture;
@end